/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**



/*
 * @author JEET
 */
/* Imports the java.io package class. */
/* Imports java.rmi package classes. */

import java.rmi.Remote;

import java.rmi.RemoteException;


/* Imports java.util package classes. */

import java.util.Vector;


/*
Interface FileRemote - This interface declares the remote methods.
Methods:
downloadFile() - Downloads the file from a 
remote location.
displayList() - Displays the list of files stored in the server to the client.
*/


public interface FileRemote extends Remote 
{
   /* Declares downloadFile() method. */
 

  public byte[] downloadFile(String filename) throws RemoteException;
   /* Declares displayList() method. */
  
  public Vector displayList() throws RemoteException;

}



